package com.gaoyi.crm.db.bean;

import android.os.Parcel;
import android.os.Parcelable;

public class ResultBean implements Parcelable {
    private int result;
    private String remark;
    private String tip;
    private String from;

    public ResultBean(int result, String remark, String tip, String from) {
        this.result = result;
        this.remark = remark;
        this.tip = tip;
        this.from = from;
    }

    protected ResultBean(Parcel in) {
        result = in.readInt();
        remark = in.readString();
        tip = in.readString();
        from = in.readString();
    }

    public static final Creator<ResultBean> CREATOR = new Creator<ResultBean>() {
        @Override
        public ResultBean createFromParcel(Parcel in) {
            return new ResultBean(in);
        }

        @Override
        public ResultBean[] newArray(int size) {
            return new ResultBean[size];
        }
    };

    public int getResult() {
        return result;
    }


    public String getRemark() {
        return remark;
    }


    public String getTip() {
        return tip;
    }

    public String getFrom() {
        return from;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeInt(result);
        parcel.writeString(remark);
        parcel.writeString(tip);
        parcel.writeString(from);
    }
}
